package me.zhengjie.minbearwcs.entity.DTO.wms.login;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTrueFalse;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
public class MinBearLoginDTO {
    @JsonProperty("Context")
    private Map<String,String> Context = new HashMap<>();

    @JsonProperty("Parameters")
    private List<Map<String,String>> Parameters = new ArrayList<>();

    @JsonProperty("ApiType")
    private String ApiType = "AuthenticationController";

    @JsonProperty("Method")
    private String Method = "Login";

    public MinBearLoginDTO() {
        Map<String, String> map1 = new HashMap<>();
        map1.put("Value","agv01");
        Map<String, String> map2 = new HashMap<>();
        map2.put("Value","123456");
        Parameters.add(map1);
        Parameters.add(map2);
    }


}
